<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 边框表格</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>

<table class="table table-bordered">
    <!-- <caption>交班统计分类</caption> -->
    <thead>
    <tr>
       <!--  <th>交班收银统计</th> -->
        <!-- <th colspan="2"><a href="#" id="index" >交班收银统计</a> </th> -->
        <!-- <th><a href="#" id="consume">交班消费统计</a></th>
        <th><a href="#" id="retire">退餐情况统计</a></th> -->
    </tr>
    </thead>
    <tbody>
    <tr>
        <td colspan="4" rowspan="2" style="height:200px">
            <block name="center">
            </block>
        </td>
    </tr>
    <tr>
    </tr>
    <tr>
        <td>交班时消费统计同步打印</td>
        <td><a href="{:url('Passwork/passwork')}" id="password">交班</a></td>
        <td>打印</td>
        <td><input type="button" name="Submit"  value="取消" id="myform"></td>
        <!--<a href="index.html" onclick="return confirm('您确定要退出系统吗？');">退出系统</a>-->
    </tr>
    </tbody>
</table>
</body>
</html>
<script>
    $("#index").click(function(){
        window.location.href="index";
    });
</script>
<script>
    $("#consume").click(function(){
        window.location.href="consume";
    });
</script>
<script>
    $("#retire").click(function(){
        window.location.href="retire";
    });
</script>
<script>
    var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
    $('#myform').on('click', function(){
        parent.layer.close(index); //执行关闭
    });
</script>
